package com.springboot.ww.platform.pd.lms.dto;

import cn.hutool.core.util.ObjectUtil;
import lombok.Data;


/**
 * listing操作日志实体类
 *
 * @author wuhuiqiang
 * @since 2021-03-12
 */
@Data
public class PdListingLog{

	private String req;
	private String resp;


	public void setCommonReq(String req) {
		if (ObjectUtil.isEmpty(this.req)) {
			this.req = req;
		} else {
			this.req = this.req + "|\n" + req;
		}
	}
	public void setCommonResp(String resp) {
		if (ObjectUtil.isEmpty(this.resp)) {
			this.resp = resp;
		} else {
			this.resp = this.resp + "|\n" + resp;
		}
	}

}
